package com.aaron.contentcenter.configuation;

import feign.Logger;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * Description:
 *
 * @author linzhj
 * @date 2021/7/13 20:47
 */
//不写下面这个注解，否则会出现父子上下文重复扫描
//还可以挪到ComponentScan扫描之外
//@Configuration
public class UserCenterFeignConfiguration {
    @Bean
    public Logger.Level level(){
        //打印feign所有请求细节
        return Logger.Level.FULL;
    }
}
